export interface Article {
    id: number;
    title: string;
    content: string;
    summary: string;
    author: {
        id: number;
        username: string;
    };
    viewCount: number;
    likeCount: number;
    commentCount: number;
    createdAt: string;
    updatedAt: string;
}

export interface CreateArticleRequest {
    title: string;
    content: string;
    summary: string;
}

export interface UpdateArticleRequest {
    title: string;
    content: string;
    summary: string;
}

export interface ArticleListResponse {
    content: Article[];
    totalElements: number;
    totalPages: number;
    size: number;
    number: number;
} 